{# The speech server the inference component tracks, as its sampler reads it: what it reports of itself and where the app reaches it (``_speech_body``, re-sent over SSE every tick while open), its voices by accent and gender, each played by the server itself through the inference API, and its memory, requests and the app's calls to it charted live. #} {% from "components/macros/layout.html" import card %} {% from "components/macros/icons.html" import icon %} {% from "components/macros/feedback.html" import empty_state %} {% from "pages/overseer/_macros.html" import live_charts %} {% if speech %}
{% include "pages/overseer/inference/_speech_body.html" %}
{% call card("Voices", "Press one to hear it from the server." ~ (" AI > Voice speaks in them too." if voice_page else "")) %} {% if voices %}
{% for group, names in voices %}
{{ group }}
{%- for name in names %} {%- endfor %}
{% endfor %}
{% if voice_page %}Open AI > Voice{% endif %} {% elif speech.available %} {{ empty_state("No voices", "The server answered, but lists none.") }} {% endif %} {% endcall %} {{ live_charts(speech_charts, "#speech", request.url.path) }}
{% else %} {{ empty_state("No speech server", unset) }} {% endif %}